package com.xxpt.common.enums;


/**
 * 文件上传类别
 */
public enum FileUploadType {
    IMG_EDITOR("img/editor", "文本编辑器"),
    UNIT("unit", "单位"),

    TRAIN_NOTICE("train/notice/", "培训通知"), //培训通知
    TRAIN_NAMELIST("train/namelist/", "培训签到名单"),//培训签到名单
    TRAIN_OTHER("train/other/", "培训其它"),//培训其它
    TRAIN_CERTIFICATE("train/certificate/", "培训证明"),//培训证明
    ACTIVITY_INFO("activity/", "活动材料"),//活动材料

    OTHER_NEWS_FILE("other/news/file/", "新闻文件"),

    ;
    private String folder;
    private String name;

    FileUploadType(String folder, String name) {
        this.folder = folder;
        this.name = name;
    }

    public String getFolder() {
        return folder;
    }

    public void setFolder(String folder) {
        this.folder = folder;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
